package Project4;

public class Variable{
	private String name = "DEFAULT_VARIABLE_NAME";
	private String type = "DEFAULT_VARIABLE_TYPE";
	private int offset = 0;

	public Variable(String name, String type){
		this.name = name;
		this.type = type;
	}

	public Variable(String name, String type, int offset){
		this(name, type);
		this.offset = offset;
	}

	public void setOffset(int i){
		offset = i;
	}

	public int getOffset(){
		return offset;
	}

	public String getName(){
		return this.name;
	}

	public String getType(){
		return this.type;
	}
}
